Resursbank\Woocommerce\Settings\PartPayment A

Total Complexity 55
Dependencies 27
Dependents 3
Total lines 497
Lines of code 286
Logical lines of code 106
Comment lines 122
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
handleLimitUpdate()
A
44 8 46
updateLongestPeriodWithZeroInterest()
A
49 8 33
validateStoreAndMethod()
S
53 5 25
handleStoreIdUpdate()
S
51 4 30
canSwitchMinValueByCountry()
S
55 4 23
validateLimit()
S
62 4 13
isValidPaymentOrStoreIdOption()
S
62 4 12
sanitizeResursPartPaymentValues()
S
61 3 14
canValidateOptionChange()
S
78 2 3
updateThresholdLimit()
S
70 2 6
isValidPeriodOption()
S
77 2 3
isValidUuid()
S
67 2 8
init()
S
62 1 14
getPaymentMethodSetting()
S
62 1 12
getPeriodSetting()
S
62 1 12
getTitle()
S
79 1 3
getEnabledSetting()
S
64 1 10
getSettings()
S
65 1 10
getLimitSetting()
S
65 1 9